<template>
  <el-dropdown trigger="click" @command="handleCommand">
    <span class="el-dropdown-link outline-none">
      <SvgIcon
        icon-name="ant-design:user-outlined"
        custom-class="h-[28px] w-[28px] ml-[10px] cursor-pointer"
      ></SvgIcon>
    </span>

    <template #dropdown>
      <el-dropdown-menu>
        <el-dropdown-item>个人中心</el-dropdown-item>
        <el-dropdown-item>退出登录</el-dropdown-item>
      </el-dropdown-menu>
    </template>
  </el-dropdown>
</template>

<script setup lang="ts" name="Avator">
const handleCommand = () => {}
</script>
